package com.wanlian.netty.msg;


import com.wanlian.netty.model.Address;

public class HoleBody {
	private Address from;
	private Address to;

	public HoleBody() {

	}

	public HoleBody(String fromPubkey, String topubkey) {
		this.from = new Address();
		this.from.setPublickey(fromPubkey);
		this.to = new Address();
		this.to.setPublickey(topubkey);
	}

	public HoleBody(Address from, Address to) {
		this.from = from;
		this.to = to;
	}

	public Address getFrom() {
		return from;
	}

	public void setFrom(Address from) {
		this.from = from;
	}

	public Address getTo() {
		return to;
	}

	public void setTo(Address to) {
		this.to = to;
	}

}
